package com.example.springboot10_15;

import com.example.springboot10_15.service.iml.LoginService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class SpringBoot1015Application {
	public static void main(String[] args) {
		ConfigurableApplicationContext context= SpringApplication.run(SpringBoot1015Application.class, args);
		LoginService loginService=(LoginService) context.getBean(LoginService.class);
		loginService.login("admin","admin");
	}

}
